package br.ufpa.cbcc2007.carros;
/* arquivo AutoEstrada.java */

import javax.microedition.lcdui.*;

import javax.microedition.midlet.*;


public class AutoEstrada extends MIDlet{

	private Display display;
	private AutoEstradaCanvas autoEstradaCanvas;

	public AutoEstrada(){
		display = Display.getDisplay(this);
		autoEstradaCanvas = new AutoEstradaCanvas();
		autoEstradaCanvas.addCommand(new Command("Exit", Command.EXIT, 0));
		
		
	}

	protected void startApp(){
		display.setCurrent(autoEstradaCanvas);
	}

	protected void pauseApp(){}

	protected void destroyApp(boolean unconditional){}


	public void exitMIDlet(){
		destroyApp(false);
		notifyDestroyed();
	}

}